# MPLAB IDE generated this makefile for use with GNU make.
# Project: Terminal.mcp
# Date: Thu Mar 19 16:36:22 2009

AS = pic30-as.exe
CC = pic30-gcc.exe
LD = pic30-ld.exe
AR = pic30-ar.exe
HX = pic30-bin2hex.exe
RM = rm

Terminal.hex : Terminal.cof
	$(HX) "Terminal.cof"

Terminal.cof : Terminal.o OpenTimer1.o ConfigIntTimer1.o nRF2401.o delay.o PwrMgnt_WakeupSource.o PwrMgnt_ResetSource.o CommandProc.o EnableWDT.o WriteTimer2.o CloseTimer2.o ConfigIntTimer2.o OpenTimer2.o write.o mma7455.o
	$(CC) -mcpu=24FJ16GA002 "Terminal.o" "OpenTimer1.o" "ConfigIntTimer1.o" "nRF2401.o" "delay.o" "PwrMgnt_WakeupSource.o" "PwrMgnt_ResetSource.o" "CommandProc.o" "EnableWDT.o" "WriteTimer2.o" "CloseTimer2.o" "ConfigIntTimer2.o" "OpenTimer2.o" "write.o" "mma7455.o" -o"Terminal.cof" -Wl,--script="p24FJ16GA002.gld",--defsym=__MPLAB_BUILD=1,--heap=128,--stack=64,-Map="Terminal.map",--report-mem,--cref,--warn-section-align

Terminal.o : wdt.h timer.h delay.h CommandProc.h Terminal.h p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h p24FJ16GA002.h p24Fxxxx.h PwrMgnt.h p24FJ16GA002.h Terminal.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "Terminal.c" -o"Terminal.o" -g -Wall

OpenTimer1.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h OpenTimer1.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "OpenTimer1.c" -o"OpenTimer1.o" -g -Wall

ConfigIntTimer1.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h ConfigIntTimer1.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "ConfigIntTimer1.c" -o"ConfigIntTimer1.o" -g -Wall

nRF2401.o : CommandProc.h delay.h p24FJ16GA002.h nRF2401.h GenericTypeDefs.h nRF2401.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "nRF2401.c" -o"nRF2401.o" -g -Wall

delay.o : delay.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "delay.c" -o"delay.o" -g -Wall

PwrMgnt_WakeupSource.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h p24FJ16GA002.h p24Fxxxx.h PwrMgnt.h PwrMgnt_WakeupSource.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "PwrMgnt_WakeupSource.c" -o"PwrMgnt_WakeupSource.o" -g -Wall

PwrMgnt_ResetSource.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h p24FJ16GA002.h p24Fxxxx.h PwrMgnt.h PwrMgnt_ResetSource.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "PwrMgnt_ResetSource.c" -o"PwrMgnt_ResetSource.o" -g -Wall

CommandProc.o : Terminal.h CommandProc.h GenericTypeDefs.h CommandProc.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "CommandProc.c" -o"CommandProc.o" -g -Wall

EnableWDT.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h wdt.h EnableWDT.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "EnableWDT.c" -o"EnableWDT.o" -g -Wall

WriteTimer2.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h WriteTimer2.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "WriteTimer2.c" -o"WriteTimer2.o" -g -Wall

CloseTimer2.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h CloseTimer2.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "CloseTimer2.c" -o"CloseTimer2.o" -g -Wall

ConfigIntTimer2.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h ConfigIntTimer2.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "ConfigIntTimer2.c" -o"ConfigIntTimer2.o" -g -Wall

OpenTimer2.o : p24FJ16GA002.h p24Fxxxx.h PIC24F_periph_features.h GenericTypeDefs.h timer.h OpenTimer2.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "OpenTimer2.c" -o"OpenTimer2.o" -g -Wall

write.o : write.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "write.c" -o"write.o" -g -Wall

mma7455.o : GenericTypeDefs.h p24FJ16GA002.h mma7455.c
	$(CC) -mcpu=24FJ16GA002 -x c -c "mma7455.c" -o"mma7455.o" -g -Wall

clean : 
	$(RM) "Terminal.o" "OpenTimer1.o" "ConfigIntTimer1.o" "nRF2401.o" "delay.o" "PwrMgnt_WakeupSource.o" "PwrMgnt_ResetSource.o" "CommandProc.o" "EnableWDT.o" "WriteTimer2.o" "CloseTimer2.o" "ConfigIntTimer2.o" "OpenTimer2.o" "write.o" "mma7455.o" "Terminal.cof" "Terminal.hex"

